﻿<UserControl x:Class="ucReaderSettings"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"></RowDefinition>
            <RowDefinition Height="auto"></RowDefinition>
            <RowDefinition Height="auto"></RowDefinition>
            <RowDefinition Height="auto"></RowDefinition>
        </Grid.RowDefinitions>
        <GroupBox Header="Reader file location" Grid.Row="0" Margin="5">
            <Grid>
                <Grid.ColumnDefinitions> 
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>                
                <TextBox Grid.Column="0" Width="250" Name="textboxReaderFilesLocation" Margin="5" IsReadOnly="True" ></TextBox>
                <Button Grid.Column="1" Name="buttonBrowseReader" Margin="5" Width="100">Browse</Button>
            </Grid>
        </GroupBox>
        <GroupBox Header="Backup files location" Grid.Row="1" Margin="5">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBox Grid.Column="0" Width="250" Name="textboxBackupFilesLocation" Margin="5" IsReadOnly="True" ></TextBox>
                <Button Grid.Column="1" Name="buttonBrowseBackup" Margin="5" Width="100">Browse</Button>                
            </Grid>
        </GroupBox>
        <StackPanel Grid.Row="2" Grid.ColumnSpan="2" Margin="5" Orientation="Horizontal" >
            <CheckBox Name="cbRemoveFilesFromReader"  Margin="1,2,1,2" IsChecked="True" VerticalAlignment="Center"></CheckBox>
            <Label Margin="1,2,1,2" VerticalAlignment="Center">Remove files from the Reader?</Label>
        </StackPanel>
        <StackPanel Grid.Row="3" Margin="5" Orientation="Horizontal" >
            <Button Name="buttonSave" Width="100" HorizontalAlignment="Left" Margin="1,2,1,2">Save
            </Button>
            <Button Name="buttonCancel" Width="100" HorizontalAlignment="Left" Margin="1,2,1,2">Cancel
            </Button>            
        </StackPanel>        
    </Grid>
</UserControl>
